#!/bin/sh
PREFIX=$HOME/Documents/qemu-server
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/lib64/pkgconfig:$PREFIX/share/pkgconfig
export LD_LIBRARY_PATH=$PREFIX/lib:$PREFIX/lib64
export LD_INCLUDE_PATH=$PREFIX/include 
export PATH=$PREFIX/bin:$PATH
chmod +x configure
touch spice-common/common/generated_*
./configure --prefix=$PREFIX --enable-lz4=yes --disable-celt051 --enable-gstreamer=1.0
make clean
make
